function deleteList(node) {
    node.name = node.next.name;
    node.next = node.next.next;
}